package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.jzweb.domain.JazUserDemandDO;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.jzweb.domain.param.UserDemanDQuery;
import com.jinzhi.jzweb.domain.vo.JazUserDemandVO;

/**
 * 
 * <pre>
 * 
 * </pre>
 * <small> 2023-04-18 09:33:30 | Long</small>
 */
public interface JazUserDemandService extends CoreService<JazUserDemandDO> {
    //查询用户需求详情
    JazUserDemandVO selectDemandDetail(Long id);

    //分页查询用户需求列表
    Page<JazUserDemandVO> selectAll(JazUserDemandVO jazUserDemandVO, int current, int size );


    /**
     * 多条件分页查询用户需求列表
     * @param userDemanDQuery
     * @return
     */
    Page<JazUserDemandDO> getUserDemandPage(UserDemanDQuery userDemanDQuery);

    /**
     * 根据id查询用户需求
     * @param id
     * @return
     */
    JazUserDemandDO getUserDemandById(Long id);

}
